﻿<div class="app-header bg-dlan dk t-v"><span class="header-l t-v br b2 b-hei-a nowrap" onclick="x.mclose();"><i
        class="icon icon-pleft f9"></i>返回</span>
    <span class="dropdown br b2 b-hei-a">
        <div class="dropdown-menu w20 h8 t-v t-c"><span>功能管理</span>
            <span class="caret"></span></div>
        <dl class="dropdown-list left animated fadeInUp">
            <span class="arrowtop"></span>
    <dd>
        <a class="p3 t-c no" href="javascript:x.mode('{:url('mobile/user',['act'=>'gnlist'])}?qid={$row['qq']}','addgn');"><i class="icon icon-add mr1"></i>添加功能</a>
    </dd>

    </dl>
        <dd class="dropdown-desc animated fadeIn">&nbsp;</dd>
    </span>
   <span class="dropdown br b2 b-hei-a"> <div
        class="dropdown-menu w20 h8 t-v t-c"><span>更多操作</span><span class="caret"></span></div> <dl
        class="dropdown-list left animated fadeInUp"> <span class="arrowtop"></span>
     <dd><a class="p3 t-c no" href="javascript:mode_qq_add('qqset','{:$row['qid']}');"><i class="icon icon-update mr1"></i>更新QQ</a></dd> <dd><a class="p3 t-c no" href="javascript:ajax_qq_del('qqlist','{$row['qid']}');"><i class="icon icon-delete mr1"></i>删除QQ</a></dd> </dl> <dd class="dropdown-desc animated fadeIn">&nbsp;</dd> </span>
    <span class="dropdown br b2 b-hei-a">
        <div class="dropdown-menu w20 h8 t-v t-c"><span>QQ小工具</span>
            <span class="caret"></span></div>
        <dl class="dropdown-list left animated fadeInUp">
            <span class="arrowtop"></span>
			<dd><a class="p3 t-c no" href="javascript:mode_qq_mzrz('{:$row['qq']}');"><i class="icon icon-medal mr1"></i>秒赞认证</a></dd>
    </dl>
        <dd class="dropdown-desc animated fadeIn">&nbsp;</dd>
    </span>
</div>
<div class="app-content">
    <div class="bg-bai in-text h19 bb" id="qqzt">
    </div>
    <div class="bg-bai in-list in-b bb f4" id="gnlist">

    </div>
</div>
<script>
    function _loadGnlist() {
        x.gethtml('{:url('mobile_html/qqlist',['act'=>'load_qqzt'])}?qq={:$row['qq']}&qid={:$row['qid']}','qqzt',1);
        x.gethtml('{:url('mobile_html/qqlist',['act'=>'myAddGnList'])}?qq={:$row['qq']}','gnlist',1);
    }
    _loadGnlist();
    function _loadQqZt() {
        $("#qqzt").removeClass("hong");
        $("#qqzt").removeClass("lv");
        $("#qqzt").addClass("lv");
        $("#qqzt").html("正常");
    }
   function qqset_mode_footer(xm, qid, msg) {
        var htmlcon = '';
        htmlcon += '<li><p class="p3 f3 hui">' + msg + '</p></li>';
        if (xm != 'auto' && xm != 'dg') {
            htmlcon += '<li><p class="p3 lan bt b-hui footer in" onclick="x.mclose();x.mode(\'{:url('mobile_html/debug')}?type=' + xm + '&qid=' + qid + '\',\'sdrun\');">手动执行</p></li>';
        }
        if (xm != 'auto' && xm != 'zan') {
            htmlcon += '<li><p class="p3 hong bt b-hui footer in" onclick="x.mclose();x.del(\'{:url('mobile_ajax/gnset',['act'=>'delete'])}\',\'qid=' + qid + '&xm=' + xm + '\');">删除功能</p></li>';
        }
        x.footer(htmlcon);
    }
</script>